﻿<%@ Page Title="" Language="C#" MasterPageFile="Editor.master" AutoEventWireup="true"
	Inherits="NosoiFigthersWeb.PollDesigner.Elements" CodeBehind="Elements.aspx.cs" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="Server">
	<title>Poll designer - elements</title>
</asp:Content>
<asp:Content ID="body" ContentPlaceHolderID="body" runat="Server">
	<asp:ListView ID="elements" runat="server" ItemPlaceholderID="itemPlaceHolder" OnItemDataBound="Elements_ItemDataBound">
		<LayoutTemplate>
			<table width="100%">
				<asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
			</table>
		</LayoutTemplate>
		<ItemTemplate>
			<tr>
				<td width="80%">
					<asp:Label ID="number" runat="server"></asp:Label>
					<asp:Label ID="element" runat="server"></asp:Label>
				</td>
				<td align="right" width="20%">
					<asp:ImageButton ID="down" runat="server" AlternateText="down" ImageUrl="~/images/down.png"
						OnClick="Down_Click" ToolTip="down" />
					<asp:ImageButton ID="up" runat="server" AlternateText="up" ImageUrl="~/images/up.png"
						OnClick="Up_Click" ToolTip="up" />
					<asp:ImageButton ID="edit" runat="server" AlternateText="edit" ImageUrl="~/images/edit.png"
						OnClick="Edit_Click" ToolTip="edit" />
					<asp:ImageButton ID="delete" runat="server" AlternateText="delete" ImageUrl="~/images/trash.png"
						OnClick="Delete_Click" ToolTip="delete" />
				</td>
			</tr>
		</ItemTemplate>
	</asp:ListView>
	<asp:LinkButton ID="addNewElement" runat="server" OnClick="AddNewElement_Click">add new element</asp:LinkButton>
</asp:Content>
